﻿@using ZhouYu.DreamTour.Model;
@using ZhouYu.DreamTour.Web.Models;
@{
    HotelDetailsRelation hotelDetailsRelation = Model as HotelDetailsRelation;
    var hotels = ViewBag.HotelInfo as List<Hotel>;
    var UserInfo = UserInfoContext.userInfoContext.UserInfo;
}

<!DOCTYPE html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>酒店-详情页</title>
    <link href="~/css/style.css" rel="stylesheet" type="text/css" />
    <link href="~/css/common.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="top_hw clearfix">
        <div class="top_h clearfix">
            <div class="top_hl"><span>欢迎来到中国梦想游，让你的梦想全程免费自由行！</span> 预定热线：<b>0571-63322269</b></div>
            <div class="top_hr">
                @if (UserInfo == null)
                {
                    <a href="/Home/User_Register">会员注册</a>
                    <span>|</span> <a href="/Home/User_Login">登录</a>
                    <span>|</span> <a href="#">梦想收藏</a> <span>|</span> <a href="#">设为首页</a>
                    @*<a>
                欢迎你，来到新世界旅行网！
            </a>*@
                }
                else
                {
                    <a href="/Home/User_Center">会员中心</a>
                    <span>|</span> <a href="#">梦想收藏</a> <span>|</span> <a href="#">设为首页</a> <span>|</span> <a href="/Login/LoginOut">退出</a> <span>|</span>
                    <a>
                        欢迎你，<span>@UserInfo.User_Name</span>来到新世界旅行网！
                    </a>
                }
            </div>
        </div>
    </div>
    <div class="head_w">
        <div class="head_t clearfix">
            <div class="logo"><img src="~/images/logo.jpg"></div>
            <div class="rx_line"><img src="~/images/rx.jpg"></div>
        </div>
    </div>
    <div class="mainNav clearfix">
        <ul class="Nav_ul">
            <li><a href="/Home/Index">首页</a><img src="~/images/nav_line.jpg"></li>
            <li><a href="/Home/Route">旅游路线</a><img src="~/images/nav_line.jpg"></li>
            <li><a href="/Home/Scenic">旅游景点</a><img src="~/images/nav_line.jpg"></li>
            <li class="cur"><a href="/Home/CateringAccommodation">餐饮住宿</a><img src="~/images/nav_line.jpg"></li>
            <li><a href="/Home/Traffic_DatailsOne">交通线路</a><img src="~/images/nav_line.jpg"></li>
            <li><a href="/Home/Group">旅游团购</a><img src="~/images/nav_line.jpg"></li>
            <li><a href="/Home/Specialty">地方特产</a><img src="~/images/nav_line.jpg"></li>
            <li><a href="/Home/AutoGenerationIntro">自动生成简介</a><img src="~/images/nav_line.jpg"></li>
            <li><a href="/Home/Team_About">团队简介</a><img src="~/images/nav_line.jpg"></li>
            <li><a href="/Home/Itinerary_Details">行程导航</a></li>
        </ul>
    </div>
    <div class="b_wrap">
        <div class="current"><span>当前所在地：</span><a href="/Home/Index">首页</a> >> <a href="/Home/CateringAccommodation">餐饮住宿</a> >> <a href="#">杭州新延安饭店</a></div>
        <div class="clumn_w clearfix">
            <div class="clumn_l">
                <div class="clumn">
                    <div class="clumn_tit t01">餐饮住宿</div>
                    <div class="clumn_con">
                        <div class="cln_w">
                            <p>热门城市</p>
                            <div class="cln_c clearfix">
                                <a href="#">北京</a>
                                <a href="#">上海</a>
                                <a href="#">厦门</a>
                                <a href="#">成都</a>
                                <a href="#">西安</a>
                                <a href="#">黄山</a>
                                <a href="#">香港</a>
                                <a href="#">青岛</a>
                                <a href="#">桂林</a>
                                <a href="#">深圳</a>
                                <a href="#">三亚</a>
                                <a href="#">杭州</a>
                                <a href="#">丽江</a>
                                <a href="#">南京</a>
                                <a href="#">重庆</a>
                                <a href="#">苏州</a>
                                <a href="#">张家界</a>
                            </div>
                        </div>
                        <div class="cln_w">
                            <p>房价</p>
                            <div class="cln_c clearfix">
                                <a href="#">600元以上</a>
                                <a href="#">300-600元</a>
                                <a href="#">150-300元</a>
                                <a href="#">150元以下</a>
                            </div>
                        </div>
                        <div class="cln_w">
                            <p>酒店星级</p>
                            <div class="cln_c clearfix">
                                <a href="#">五星/豪华</a>
                                <a href="#">四星/高档</a>
                                <a href="#">三星/舒适</a>
                                <a href="#">经济/客栈</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="clumn">
                    <div class="clumn_tit t02"><span>优惠促销</span><a href="#">更多>></a></div>
                    <div class="clumn_con">
                        <ul class="clu_ul">
                            <li><a href="#">六日黄石公园, 现有女一人，寻女性同游</a></li>
                            <li><a href="#">国庆长假，温哥华维多利亚自助游找伴</a></li>
                            <li><a href="#">去NewFundland，自助游！ 肯定走！</a></li>
                            <li><a href="#">多伦多-温哥华 横跨之旅</a></li>
                            <li><a href="#">诚招一女， 已有7人定下去NewFoundland</a></li>
                            <li><a href="#">六日黄石公园, 现有女一人，寻女性同游</a></li>
                            <li><a href="#">暑期邮轮 特价不断</a></li>
                            <li><a href="#">订机票，选银联，超值特惠</a></li>
                        </ul>
                        <div><center><img src="~/images/add01.jpg"></center></div>
                    </div>
                </div>
                <div class="clumn">
                    <div class="clumn_tit t03"><span>游览历史记录</span><a href="#">更多>></a></div>
                    <div class="clumn_con">
                        <ul class="clu_ul s_ul">
                            <li><a href="#">日本航空·大阪自由行5日    </a><span>¥3152</span></li>
                            <li><a href="#">日本航空·名古屋自由行4日  </a><span>¥3129</span></li>
                            <li><a href="#">购物·东京涉谷原宿自由行5日</a><span>¥5880</span></li>
                            <li><a href="#">日本航空·大阪自由行5日    </a><span>¥3152</span></li>
                            <li><a href="#">日本航空·名古屋自由行4日  </a><span>¥3129</span></li>
                            <li><a href="#">购物·东京涉谷原宿自由行5日</a><span>¥5880</span></li>
                            <li><a href="#">日本航空·大阪自由行5日    </a><span>¥3152</span></li>
                            <li><a href="#">日本航空·名古屋自由行4日  </a><span>¥3129</span></li>
                            <li><a href="#">购物·东京涉谷原宿自由行5日</a><span>¥5880</span></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="clumn_r">
                <div class="cr_tit"><b>酒店</b> <span><a href="/Home/HotelReservation">酒店预定</a></span></div>
                <div class="cr_wrap">
                    <div class="cr_t"><div class="ct">@hotelDetailsRelation.HotelName</div> <span>咨询电话：@hotelDetailsRelation.Hotel_Tel</span></div>
                    <div class="cr_con">
                        <center><img src="@hotelDetailsRelation.Hotel_SmallPic"></center>
                        <div class="intro">
                            <p><b>酒店简介：</b></p>
                            <p style="text-indent:2em;">@hotelDetailsRelation.Describe</p>
                        </div>
                    </div>
                </div>
                <div class="next_w clearfix">
                    <div class="next">
                        <p>
                            @for (int i = 0; i < hotels.Count; i++)
                            {
                                int num = 0;
                                if (hotels[i].HotelId == hotelDetailsRelation.HotelId)
                                {
                                    if (i == 0)
                                    {
                                        <b>上一家：</b>
                                        <a href="#">暂无信息！</a>
                                        break;
                                    }
                                    num = i;
                                    <b>上一家：</b>
                                    <a href="/Home/HotelDetails?HotelId=@hotels[i - 1].HotelId">@hotels[i - 1].HotelName</a>
                                    break;
                                }
                            }
                        </p>
                        <p>
                            @for (int i = 0; i < hotels.Count; i++)
                            {
                                int num = 0;
                                if (hotels[i].HotelId == hotelDetailsRelation.HotelId)
                                {
                                    if (i == hotels.Count - 1)
                                    {
                                        <b>下一家：</b>
                                        <a href="#">没有啦!</a>
                                        break;
                                    }
                                    num = i;
                                    <b>下一家：</b>
                                    <a href="/Home/HotelDetails?HotelId=@hotels[i+1].HotelId">@hotels[i + 1].HotelName</a>
                                    break;
                                }
                            }
                        </p>
                    </div>
                    <div class="back"><a href="#">返回</a></div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>

